﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PageLibrary.Page.Elements;

namespace PageLibrary
{
    class UserDetailsPage_BE:UserDetailsPage
    {
        public UserDetailsPage_BE()
        {
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserNameAndSecondName, Selector.GetTestDataByKey("UserDetailsPage_UserNameAndSecondNameField")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserName, Selector.GetTestDataByKey("UserDetailsPage_UserNameField")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserSecondName, Selector.GetTestDataByKey("UserDetailsPage_UserSecondNameField")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserArea, Selector.GetTestDataByKey("UserDetailsPage_UserAreaField")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserExt, Selector.GetTestDataByKey("UserDetailsPage_UserExtNumberField")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserPhone, Selector.GetTestDataByKey("UserDetailsPage_UserPhoneField")));
            Elements.Add(new Link<UserDetailsPageElements>(UserDetailsPageElements.Confirm, Selector.GetTestDataByKey("UserDetailsPage_GoToNextPageField")));
        }
    }
}
